#!/usr/bin/python

from distutils.core import setup
import py2exe
import shutil

py2exe_options = dict(
    ascii=True,  # Exclude encodings
    excludes=['_ssl', 
              'pyreadline', 'difflib', 'doctest', 'locale',
              'optparse', 'pickle', 'calendar'], 
    dll_excludes=['msvcr71.dll'],  # Exclude msvcr71
    compressed=True,  # Compress library.zip
    )

setup(name="miniterm",
      version="1.0",
      description = "Serial Terminal",
      author="Jeremy Mortis",
      author_email="mortis@tansay.ca",
      url="http://tansay.ca",
      console=[{"script" : "miniterm.py"
                }
               ],
      options={'p2exe': py2exe_options},
      ) 

